package com.jzy.mapper;

import com.jzy.bean.User;
import com.jzy.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author jzy
 * @create 2018-05-11 15:51
 **/
@Mapper
public interface UserMapper {


    void insertUser(User user);

    UserVo selectUserById(String id);

    List<UserVo> selectUserList(@Param("start") int start, @Param("limit") int limit);

    void updateUser(UserVo userVo);

    int deleteUser(String id);
}
